import request from "@/util/api.js"

/**
 * 获取菜市场列表  按位置推荐附件几个菜市场
 * @param {*} data 
 */
export function getMarketListApi(data) {
	return request.get('market/lst', data)
}

/**
 * 获取客服
 * @param {*} mar_id 
 */
export function getMarketServiceApi(mar_id) {
	return request.get(`market/service/${mar_id}`)
}

/**
 * home
 */
export function homeApi(){
	return request.get('common/home')
}